package com.icinfo.cloud.provider.punish.service;

import com.alibaba.fastjson.JSONObject;
import com.icinfo.cloud.provider.common.service.PunishBaseService;
import com.icinfo.cloud.provider.punish.app.enums.AppCaseConvertTemporaryEnum;
import com.icinfo.cloud.provider.punish.dto.AppCaseConvertTemporaryRecordDto;
import com.icinfo.cloud.provider.punish.dto.AppCaseGetConvertTemporaryInfoDto;


/**
 * @author HKxxx
 * @description 针对表【app_case_convert_temporary_record(普通案件与简单案件转换临时数据表)】的数据库操作Service
 * @createDate 2024-03-15 16:09:19
 */
public interface IAppCaseConvertTemporaryRecordService extends PunishBaseService {


    /**
     * 案件转换临时数据保存
     *
     * @param dto
     */
    void save(AppCaseConvertTemporaryRecordDto dto);

    /**
     * 获取当前用户的案件转换临时数据
     * @param dto
     * @return
     */
    JSONObject getCurrentUserConvertTemporaryInfo(AppCaseGetConvertTemporaryInfoDto dto);


    /**
     * 删除当前用户的临时转换数据
     * @param convertType
     */
    void removeCurrentUserConvertTemporaryRecord(AppCaseConvertTemporaryEnum convertType);
}
